package com.health.service;

import java.util.List;

import com.health.model.User;

public interface UserService {
	int insert(User u);
	
	int deleteByPK(String id);
	int deleteByPK(User u);
	
	int updateByPK(User u);

	User selectByPK(String id);
	
	List<User> selectList();
	
	List<User> selectForList(User searchVo);
	
	int canLogin(User user);//1:success 0:fail
}
